<%@page import="pshop.servlet.ServletConstants"%>
<%@page import="pshop.Warenkorb"%>

<%
    Warenkorb wk = (Warenkorb) request.getSession().getAttribute(ServletConstants.ATTR_WK);
%>
<a href="?<%=ServletConstants.PARAM_ACTION%>=<%=ServletConstants.PARAM_ACTION_SHOW_WK%>">
  <table align="right" style="text-align: right">
    <tr>
      <a href="?<%=ServletConstants.PARAM_ACTION%>=<%=ServletConstants.PARAM_ACTION_SHOW_WK%>">
        <td><img src="resources/bilder/icon_wk.gif"
          alt="Warenkorb" /><br></td>
      </a>
    </tr>
    <tr>
      <td><%=wk.getAnzahlArtikel()%> Artikel</td>
    </tr>
    <tr>
      <td><%=wk.getGesamtPreis()%> &euro;</td>
    </tr>
  </table>
</a>